.class Lrexsee/natives/RexseeJavaView$22;
.super Ljava/lang/Object;
.source "RexseeJavaView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/RexseeJavaView;->stop(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/natives/RexseeJavaView;

.field private final synthetic val$viewTag:Lrexsee/natives/ViewTag;


# direct methods
.method constructor <init>(Lrexsee/natives/RexseeJavaView;Lrexsee/natives/ViewTag;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/RexseeJavaView$22;->this$0:Lrexsee/natives/RexseeJavaView;

    iput-object p2, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    .line 904
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 907
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "Chronometer"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 908
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$22;
    check-cast p0, Landroid/widget/Chronometer;

    invoke-virtual {p0}, Landroid/widget/Chronometer;->stop()V

    .line 916
    :cond_0
    :goto_0
    return-void

    .line 909
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$22;
    :cond_1
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ViewFlipper"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 910
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$22;
    check-cast p0, Landroid/widget/ViewFlipper;

    invoke-virtual {p0}, Landroid/widget/ViewFlipper;->stopFlipping()V

    goto :goto_0

    .line 911
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$22;
    :cond_2
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "SlidingDrawer"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 912
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$22;
    check-cast p0, Lrexsee/natives/widget/SlidingDrawer;

    invoke-virtual {p0}, Lrexsee/natives/widget/SlidingDrawer;->animateClose()V

    goto :goto_0

    .line 913
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$22;
    :cond_3
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "VideoView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 914
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Lrexsee/multimedia/VideoView;

    iget-object v0, v0, Lrexsee/multimedia/VideoView;->mediaPlayer:Landroid/media/MediaPlayer;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$22;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$22;
    check-cast p0, Lrexsee/multimedia/VideoView;

    iget-object v0, p0, Lrexsee/multimedia/VideoView;->mediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->stop()V

    goto :goto_0
.end method
